<template>
  <div id="box">
    <div>
      <i class="el-icon-time"></i>
    </div>
    <div>
      <p>您修改的信息已提交，审核通过后生效</p>
    </div>
    <div>
      <el-button @click="turn" id="sure" type="primary">返回</el-button>
    </div>
    <div id="table">
      <el-table
        :data="tableData"
        style="width: 100%"
        >
        <el-table-column
          prop="date"
          label="时间">
        </el-table-column>
        <el-table-column
          prop="des"
          label="说明">
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>

<script>
  export default {
    name:'auditprise',
    data() {
        return {
          Httphead:'http://172.16.113.187:8080',
          tableData: [{
            date:'',
            des:'提交修改成功，请等待后台审核。'
          }],
        }
    },
    methods: {
      turn(){
        this.$router.push('storeSet')
      }
    },
    created() {
    this.tableData[0].date = ''
    this.$axios({
      url: this.Httphead + "/setting/dateResult",
      method: "get",
    }).then((res) => {
        console.log("审核信息", res);
        if (res.code == 200) {
          this.tableData[0].date = res.data;
        }
      }).catch((err) => {
        console.log("获取审核信息失败", err);
      });
  },
  }
</script>

<style scoped>
  .el-icon-time{
    font-size: 80px;
    font-weight: 900;
    color: #8A8A8A;
  }
  #box{
    text-align: center;
    /* margin: auto; */
  }
  #box>div:nth-of-type(2)>p{
    margin-top: 30px;
  }
  #table{
    width: 50%;
    margin: auto;
    margin-top: 50px;
  }
  #sure{
    width: 15%;
    margin-top: 50px;
  }
</style>